#include <QApplication>
#include <QDebug>

#include <src/adapter/ollamafetcherversion.h>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    OllamaFetcherVersion api(nullptr);
    api.setSyncMode(true);
    QObject::connect(&api, &OllamaFetcherVersion::onVersion, &api, [](bool success, const QString& version){
        qDebug() << success << version;
    });
    api.version();

    return a.exec();
}
